package com.morningstar.logger.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import static com.morningstar.common.constants.QueueConstant.LOGGER_LOGIN_QUEUE;

/**
 * @author yls
 */
@Configuration
public class QueueConfig {

    @Bean
    Queue loggerLoginQueue() {
        return new Queue(LOGGER_LOGIN_QUEUE, false);
    }
}
